Repository navigation
TPC_MC: dEdx transfer function correction in the simulation - #16242
tubagundem wants to merge 1 commit into
Conversation
|
@tubagundem: Thanks for the PR! Could you please write a bit more about what this PR does and the motivation behind it? That would make it easier to judge its impact. The current message spells out the change, but not why it is needed. It would help me to connect it to a goal. |
Hi @sawenzel, Sure. The goal is to match simulated dE/dx to data. To get there, we want to use the Bethe-Bloch parametrization fitted to data as the input of the MC. The input alone isn't enough. The chain from deposited charge to reconstructed dE/dx doesn't have 1:1 ratio to the input. The reconstructed MC dE/dx therefore deviates from the data Bethe-Bloch we put in, and the deviation grows with the energy loss itself. We describe this deviation with a transfer function: the ratio of reconstructed to input dE/dx as a function of x = BB/BB_min. We fit it with R(x) = 1 + c·ln x and use the fitted c to correct the energy loss in the simulation. With the data Bethe-Bloch as input plus this correction, the MC dE/dx should match the data dE/dx much better than with the default settings. Here you can see an example of how it should work in principle: |
The simulated truncated-mean dE/dx divided by the simulated primary ionisation rises with the ionisation.
Optionally divide the primary-collision rate by R(x) = 1 + TransferLogSlope * ln(x), with x = z^2 * BB(bg) / BB_min clamped to [1, TransferXMax], so that the reconstructed dE/dx follows the input Bethe-Bloch (BetheBlochParam, which must describe the truncated-mean dE/dx measured in data).